﻿@model EADCA3MVCApp.Models.ExistingServer

@{
    ViewBag.Title = "ShowTotalCost";
}

<h2>Your current Physical Server is costing you:</h2>
<br />

<fieldset>
<legend>Monthly Cost:</legend>
    <div class="display-field">
       € @Html.DisplayFor(model => model.MonthlyCost)
    </div>
        
</fieldset>
<br />
<fieldset>
    <legend>Based on these details:</legend>

    <div class="display-label">Server Cost:</div>
    <div class="display-field">
       € @Html.DisplayFor(model => model.ServerCost)
    </div>

    <div class="display-label">Maintainance Cost:</div>
    <div class="display-field">
       € @Html.DisplayFor(model => model.MaintainanceCost)
    </div>

    <div class="display-label">Software Licence Cost:</div>
    <div class="display-field">
       € @Html.DisplayFor(model => model.SoftwareLicenceCost)
    </div>

    <div class="display-label">No Of Servers:</div>
    <div class="display-field">
       @Html.DisplayFor(model => model.NoOfServers)
    </div>

</fieldset>

@using (@Html.BeginForm())
{
    <input type="submit" value="Show me how much I can save moving to the Cloud" />
}

